home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 January / EnterCD 0105.iso / Grafika / DigiBookShelf 11.0 / D110TRENG.EXE / HELP / regist.swf / scripts / DefineButton2_37 / BUTTONCONDACTION on(release).as < prev   
Encoding:
Text File  |  2004-09-21  |  1.0 KB  |  41 lines

  1. on(release){
  2.    if(_root.res_code == 401)
  3.    {
  4.       if(_root.serial_enable == 0)
  5.       {
  6.          _root.res_code = -1;
  7.          fscommand("entry_user");
  8.          _root.checkMC.step = "domain";
  9.          _root.checkMC.check = true;
  10.          _root.baseMC.targetMC._y = 60;
  11.       }
  12.       else if(_root.serial_enable == 1)
  13.       {
  14.          _root.baseMC.targetMC.gotoAndStop(lavel);
  15.          this.gotoAndStop(1);
  16.          _root.baseMC.targetMC._y = 60;
  17.       }
  18.    }
  19.    else if(_root.password == "")
  20.    {
  21.       _root.baseMC.targetMC.gotoAndStop(lavel);
  22.       this.gotoAndStop(1);
  23.       _root.baseMC.targetMC._y = 60;
  24.    }
  25.    else if(_root.serial_enable == 0)
  26.    {
  27.       _root.res_code = -1;
  28.       fscommand("auth_user");
  29.       _root.checkMC.step = "step02";
  30.       _root.checkMC.check = true;
  31.       _root.baseMC.targetMC._y = 60;
  32.    }
  33.    else if(_root.serial_enable == 1)
  34.    {
  35.       _root.baseMC.targetMC.gotoAndStop(lavel);
  36.       this.gotoAndStop(1);
  37.       _root.baseMC.targetMC._y = 60;
  38.    }
  39.    yesB.gotoAndStop(1);
  40. }
  41.